package com.mangguo.tingjian.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mangguo.tingjian.user.controller.req.UserImageReq;
import com.mangguo.tingjian.user.dto.*;
import com.mangguo.tingjian.user.entity.DwUserActiveApp;

import java.util.List;

/**
 * <p>
 * 激活用户-APP 服务类
 * </p>
 *
 * @author auto
 * @since 2019-11-23
 */
public interface IDwUserActiveAppService extends IService<DwUserActiveApp> {
    Long countAllUniqueImei();
    Long countUniqueImeiBetweenDate(Integer start, Integer end);
    List<CountResult> countUniqueImeiByDateBetweenDate(UserImageReq userImageReq);
    List<ChannelResult> countUniqueImeiByChannelIdBetweenDate(UserImageReq userImageReq);
    List<CityResult> countUniqueImeiByCityBetweenDate(UserImageReq userImageReq);
    List<ProvinceResult> countUniqueImeiByProvinceBetweenDate(UserImageReq userImageReq);
    List<PlatformResult> countUniqueImeiByPlatformBetweenDate(UserImageReq userImageReq);
    List<SystemResult> countUniqueImeiBySystemBetweenDate(UserImageReq userImageReq);
    List<CountResult> countUniqueImeiByMonth();
    List<CountResult> countUniqueImeiByDate(Integer start, Integer end);
}

